package person.wangchen11.editor.edittext;

import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;

public interface MyLayout {

	int getLineForOffset(int start);

	float getPrimaryHorizontal(int start);

	void getLineBounds(int line, Rect mBoundsOfCursor);

	int getLineForVertical(int top);

	void draw(Canvas canvas);

	int getLineCount();

	Paint getPaint();

	int getOffsetForHorizontal(int line, float x);

	int getHeight();
}
